#include <stdio.h>
void compare(){
	int a,b;
	scanf("%d%d",&a,&b);
	if(a > b)
		printf("a 大于b\n");
	else
		printf("a 小于b\n");
	
}
void comparePoint(){
	int a = 200;
	int *p;
	p = &a;

	if(p == NULL || *p != 100){
		printf("hi\n");
	}else{
		printf("hello\n");
	}
}
void forCycle(){
	int add = 0;
	//int i ;
	for(int i = 1 ;i<10;i++){
		add += i;
	}
	printf("the sum of num is %d\n",add);
}

void mvbytes(){
	int a = 12;
	//右移 除法
	printf("12 / 4 = %d\n",a >> 2);
	//左移 乘法
	printf("12 * 5 = %d\n",(a << 2) + a);
}
int main(){
	mvbytes();
	return 0;
}
